public with sharing class savecon {
    ApexPages.StandardController con;
    public savecon(ApexPages.StandardController controller){
       con=controller;
    }
    public pagereference save()
    {
        con.save(); 
        return new pagereference(page.editdelete.getUrl());
    }
}